Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added whitelistedMouseEvent option #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fildahui
Copy link

@fildahui fildahui commented Jun 22, 2018

Whitelisted mouse events

This change introduces a new option, whitelistedMouseEvents, that lets users specify an optional list (array) of events whose execution will not be stopped.

The problem, that made this change necessary, was occurring in an ionic application, with snazzy info window template configured to not display the close button.

After opening the first snazzy-info-window it would remain open forever even when tapping on a different area of the map. This was because all the mouse/touch events were being stopped.

Now users can set the proper option (whitelistedMouseEvents) using an array of events, preventing all of them from being stopped.

@devonmather
Copy link

This is a great addition 👌🏻

@SrgSteak
Copy link

SrgSteak commented Aug 8, 2019

Why is this PR still open? I really need this in a project I'm working on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants